﻿<%@ Page Language="C#" MasterPageFile="~/rightContent.Master" AutoEventWireup="true"
    CodeBehind="contactEdit.aspx.cs" Inherits="WEB.contact.contactEdit" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="title" runat="server">
    新增联系人
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
    </asp:ToolkitScriptManager>
    <table width="100%">
        <tr>
            <td align="center">
                <table width="550px" class="distance" cellpadding="4" cellspacing="4">
                    <tr>
                        <td align="right">
                            公司名称：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbCusID" runat="server" Width="150px" MaxLength="25"></asp:TextBox>
                            <asp:AutoCompleteExtender ID="AutoCompleteExtender1" runat="server" ServiceMethod="GetCustomersName"
                                TargetControlID="tbCusID" MinimumPrefixLength="1" CompletionInterval="358">
                            </asp:AutoCompleteExtender>
                        </td>
                        <td align="right">
                            联系人姓名：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbCPName" runat="server" MaxLength="10"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            性别：
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="ddlSex" runat="server" Height="24px" Width="55px">
                                <asp:ListItem>男</asp:ListItem>
                                <asp:ListItem>女</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td align="right">
                            职位：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbCPPost" runat="server" MaxLength="10"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            手机：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbMobilePhone" runat="server" Width="150px" MaxLength="13"></asp:TextBox>
                        </td>
                        <td align="right">
                            固定电话：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbCPPhone" runat="server" MaxLength="13"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            E-mail
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbEmail" runat="server" MaxLength="30"></asp:TextBox>
                        </td>
                        <td align="right">
                            传真：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbFax" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            &nbsp; 备注：
                        </td>
                        <td align="left">
                            <asp:TextBox ID="tbRemarks" runat="server" Height="70px" TextMode="MultiLine" Width="150px"
                                MaxLength="50"></asp:TextBox>
                        </td>
                        <td colspan="2" align="left">
                        <font style=" color:Red;"> 联系人兴趣、爱好等信息</font>
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:Button ID="btnEdit1" runat="server" Text="增加" OnClick="btnEdit1_Click" 
                                CssClass="Submit_yellowbig" />
                        </td>
                        <td>
                            &nbsp;</td>
                        <td>
                            <asp:Button ID="btnExit" runat="server" Text="返回" OnClick="btnExit_Click" CssClass="Submit_yellowbig"
                                ToolTip="返回查看" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="4">&nbsp;
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
